package com.maxsalad.uc.service;

import com.maxsalad.uc.dao.OrderDao;
import com.maxsalad.uc.dto.DOrderDto;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Map;

/**
 * Created by 2014-400 on 2016-03-17.
 */
@Service
public class OrderService extends BaseService {
    private static final Logger log = LoggerFactory.getLogger(OrderService.class);

    @Autowired
    private OrderDao orderDao;

    public Map queryAllOrder(DOrderDto dto) throws Exception {
        return orderDao.queryAllOrder(dto);
    }
}
